package com.mai.dao;

import org.apache.ibatis.annotations.Param;

import com.mai.entity.UserMai;

/**
 * <p>Title: UserMapper</p>  
 * <p>Description: </p>  
 * @author  火之意志  
 * @date  2019年5月15日上午10:53:34  
 */
public interface UserMaiMapper {
	
	public UserMai selectUserByNameAndPwd(@Param("username") String username, @Param("password") String password);
	
	public UserMai selectUserByName(@Param("username") String username);
	
	public int addUser(UserMai user);
	
	public int resetPassword(UserMai user);
	
	public UserMai findLoginNum(UserMai user);

}
